package com.samphanie.mbg.model.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.samphanie.mbg.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;


/**
 * 角色权限关联对象 sys_role_permission
 *
 * @author zsy
 * @date 2021-10-20
 */
@Data
@With
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_role_permission")
@EqualsAndHashCode(callSuper = true)
public class SysRolePermission extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "资源id")
    private Long permissionId;

}
